PowerShell compares a file on a file server with a file uploaded to a SharePoint Online document library.
Good afternoon. I hope you are well. I have a question about how I can compare a file on a file server with a file uploaded to a SharePoint Online document library. In order to check if the file is the same or has changed to check if it needs to be…
How to generate a report on a conditional access policy with Report Only mode ?
Hello Team, I'm looking for a free way even with a PowerShell script to get a report on a conditional access policy with Report Only mode. Thanks, Alaa Elrayes
Powershell ISE Illegal characters in path with literalpath
Hello! I have encountered the problem of running PowerShell cmdlets using "LiteralPath" in PowerShell ISE, when folder is existing. Error message: Get-ChildItem : Illegal characters in path. At line:1 char:1 + Get-ChildItem -LiteralPath…
EventID for the GPO
I have enabled the GPO (Turn on PowerShell Transcription): Computer Configuration-Administrative Templates-Windows Components-Windows PowerShell. Turn on PowerShell Transcription: Enabled. Should I see any other Event ID besides 4103 in Event Viewer with…
Can I put the value of instanceDurationInDays in minutes for the QA while creating access reviews using powershell?
I am able to create an azure access reviews with Graph API 1.0 using PowerShell. Now, there is a property called instanceDurationInDays which should have an integer value. The access review will remain active for the number of days of the value of…
Connect-MgGraph : Invalid JWT access token. Connect-AzAccount : InteractiveBrowserCredential authentication failed
I need help and a solution to rectify the below error when executing the PowerShell Connect-* command. $TenantID = '22bb9241-65c8-45b4-94f9-7c151e154693' $AzSubscriptionID = 'd487514e-4317-447f-af79-5022d310f6bd' $paramConnectMgGraph = @{ Scopes =…
What is the best way to execute PowerShell graph command executed against Azure / Entra ID ?
What is the best way to execute the PowerShell graph command executed against Azure / Entra ID ? $date = (Get-Date -Format "yyyy-MM-dd") 2Get-MgRiskDetection -All -Filter "ActivityDateTime ge $date and RiskLevel eq 'high'" The report…
GPO is not applying
Hi All i am applying the below GPO on an OU, this OU has Windows 2019/2016 Servers. My domain controllers are a mix of Windows 2019/2016. On the member server when i check RSOP i am seeing that the GPO is applied but when i check from gpedit.msc the gpo…
WinGet.exe upgrade --all -Exclude
How to exclude the list of apps [third-party application, MS applications, and MS KBnumbers] while running winget upgrade -all commands. Is there any parameter to exclude any application? It will be appriciated
Problème d'autorisation lors de la récupération de photos OneDrive personnel avec PowerShell et Microsoft Graph API
Bonjour, J'essaie d'extraire massivement des liens URL de photos situées dans mon OneDrive personnel à l'aide de PowerShell et de l'API Microsoft Graph. J'ai créé un compte Azure et une application appelée "PowerShell Graph API OneDrive…
convert xlsx to csv using powershell
Hi, I have looked around a lot to find a script that converts xlsx-files in a folder to csv-files. I have found script that does this but only for one file and with a certain file name. Below works fine for one file with a certain name…
Risk and consequence when executing Kerberos password reset in a Hybrid Azure AD - OnPremise AD DS?
What are the risks and consequences of resetting the Kerberos krbtgt account during business hours using the steps defined…
Task Scheduler is unable to fetch credentials from Windows Credential Manager. It’s returning null for the username and password
We have one Task Scheduler job using Credential Manager to store service account credentials(Generic). After a password change, we started facing this issue. We have a PowerShell script configured as a Task Scheduler job that uses Credential Manager to…
Disabling TLS 1.0 and 1.1 at the Windows OS level
Hello, I am trying to determine if there is a way to permanently remove a windows OS ability to communicate using TLS 1.0 and 1.1. I am familiar with the registry changes to disable TLS 1.0 and 1.1 but I am looking for a solution that cannot be…
Create Address List in Exchange online based on Group Membership?
I would like to create some address lists which I know I have to do in Powershell. How would I do this so the list is made up of users who are members of a particular group please and are only mailboxes, so no contacts etc. Thank you.
PowerShell command to execute below SSIS.exe file with no prompting window
HI Please assist me in executing below command, you can see respective .exe file is there in the respective folder. Please assist on this
Change MaximumFileDownloaded on WSUS server with widDB
Hey all, We have an offline WSUS upstream server and a few replica servers. We wanted to accelerate the download rate of files from the upstream server. We already have the wright definition to the BITS service (we changed the proper value in the…
I am getting error, When I am trying to update the GPO by executing gpupdate /force.
Hi Experts, I have applied the GPO to disable windows auto update and Trying to update the GPO. But I am getting below error while I am trying to update the GPO. "Windows failed to applied the {F312195E-sD90-447A-A3F5-08DFFA24735E) settings .…
Forwarding Windows Server firewall logs to other location like syslog server?
Would it be possible to forward or configure the Windows server firewall logs to a SIEM or SYSLOG server? Currently, using the official method through Group Policy only allows me to create the log on a specific server locally.…
Modify Office's settings via Registry/GPO
Good afternoon! In your company, you’re using Office 2016 Professional Plus. Recently, you’ve collected all the user configurations to create group policies. While some settings could be changed using Administrative Templates, there are still some that…